of
Returns the ClientCertificate
instance for the given certificate
and SSL private key.
Parameters
an X.509 certificate
an SSL (EC or RSA) private key
Throws
when certificate encoding fails
Returns the ClientCertificate
instance for the given certificate
, SSL private key, and intermediate certificates.
Since
7.24.5
Parameters
an X.509 certificate
an SSL (EC or RSA) private key
a list of intermediate certificates for chain building. Can be empty.
Throws
when certificate encoding fails
Loads a client certificate from the given keystore file with the given password and keystore type. The first (end-entity) certificate, all intermediate certificates, and private key will be taken from the given keystore.
Parameters
the path to a valid keystore file
the password used to access the keystore
the keystore type
Throws
when the client certificate loading has been failed